-
Notifications
You must be signed in to change notification settings - Fork 8.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
optimize: add saga io.seata compatible api #6312
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 2.x #6312 +/- ##
=========================================
Coverage 51.98% 51.99%
Complexity 5173 5173
=========================================
Files 918 918
Lines 32039 32039
Branches 3866 3866
=========================================
+ Hits 16656 16659 +3
+ Misses 13758 13754 -4
- Partials 1625 1626 +1 |
Please register this PR in CHANGES |
|
I suggest merging this PR first. I will submit an SPI compatible PR later. |
If so, I will suplement Saga component-level API in another PR. |
Ok,you can review my PR and see if there is anything else that needs to be added. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Ⅰ. Describe what this PR did
Add Saga related API to
compatible
module. The basic idea is to use wrapper pattern to wrap actual implementation (org.apache.seata). For all implementation classes, I added two methods, i.e.,wrap
org.apache.seata to io.seata andunwrap
org.apache.seata from io.seata.Ⅱ. Does this pull request fix one issue?
Related to #6059